package com.ganzalang.gmall.designstrategy.discount.calculate;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @description: 满N件，第N+1件打折
 * @author: ganzalang
 **/
@Slf4j
@Service
public class MultiDiscountCalculator extends AbstractDiscountCalculator{
    @Override
    protected void serviceA() {
        log.info("MultiDiscountCalculator's serviceA");
    }

    @Override
    protected void serviceB() {
        log.info("MultiDiscountCalculator's serviceB");
    }
}
